import './ContractManagement04.scss'
import { useState } from 'react'
import { Result, Button, Modal } from 'antd'

export const ContractManagement04 = () => {
    const [Status, setStatus] = useState(false)

    const onSelect = () => {
        console.log('选择对比模板与合同')
    }

    return (
        <div className="ContractManagement04">
            {Status ? (
                '对比结果'
            ) : (
                <Result
                    status="404"
                    title="请选择需要对比的模板与合同"
                    extra={
                        <Button type="primary" onClick={onSelect}>
                            点击选择
                        </Button>
                    }
                />
            )}
        </div>
    )
}
